<?php
/**
 * 管理后台专用的配置
 */

return array(
    'name' => 'iAdminOS', // 项目名称

    // 菜单
    'menus' => array(
        array(
            'title' => '仪表盘',
            'class' => 'nav-icon fas fa-tachometer-alt',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '首页',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/'),
                ),
            ),
        ),
        array(
            'title' => '小部件', 
            'span' => '<span class="right badge badge-danger">新</span>',
            'class' => 'nav-icon fas fa-th',
            'href' => iadminUrl('/Examples/Widgets'),
        ),
        array(
            'title' => 'UI元素', 
            'class' => 'far fa-circle nav-icon',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '图标',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUIIcons'),
                ),
                array(
                    'title' => '按钮',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUIButtons'),
                ),
                array(
                    'title' => '滑块',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUISliders'),
                ),
                array(
                    'title' => '弹框 & 提醒',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUIModals'),
                ),
                array(
                    'title' => '导航 & 选项卡',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUINavbar'),
                ),
                array(
                    'title' => '常规',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUIGeneral'),
                ),
                array(
                    'title' => '时间线',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUITimeline'),
                ),
                array(
                    'title' => '丝带',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesUIRibbons'),
                ),
            ),
        ),

        array(
            'title' => '表单', 
            'class' => 'nav-icon fas fa-edit',
            'href' => '#',
            'items' => array(
                array(
                    'title' => 'OSS文件上传',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/Upload'),
                ),
                array(
                    'title' => '常规元素',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesFormsGeneral'),
                ),
                array(
                    'title' => '高级表单',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesFormsAdvanced'),
                ),
                array(
                    'title' => '编辑器',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesFormsEditors'),
                ),
                array(
                    'title' => '验证',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesFormsValidation'),
                ),
            ),
        ),

        array(
            'title' => '表格', 
            'class' => 'nav-icon fas fa-table',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '简单表格',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesTablesSimple'),
                ),
                array(
                    'title' => '数据表格',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesTablesData'),
                ),
            ),
        ),

        '示例',
        array(
            'title' => '日历',
            'class' => 'nav-icon far fa-calendar-alt',
            'href' => iadminUrl('/Examples/PagesCalendar'),
            'span' => '<span class="badge badge-info right">2</span>',
        ),
        array(
            'title' => '相册',
            'class' => 'nav-icon far fa-image',
            'href' => iadminUrl('/Examples/PagesGallery'),
        ),
        array(
            'title' => '附加', 
            'class' => 'nav-icon fas fa-edit',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '404 错误',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/Pages400'),
                ),
                array(
                    'title' => '500 错误',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/Pages500'),
                ),
                array(
                    'title' => '加载状态',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesPace'),
                ),
                array(
                    'title' => '空白页',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesBlank'),
                ),
                array(
                    'title' => '起始页',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl('/Examples/PagesStarter'),
                ),
            ),
        ),

        '帮助',
        array(
            'title' => '文档',
            'class' => 'nav-icon far fa-file',
            'href' => 'http://www.iadminos.com/docs/',
        ),

        '多级示例',
        array(
            'title' => '一级',
            'class' => 'nav-icon far fa-circle',
            'href' => '',
        ),
        array(
            'title' => '一级', 
            'class' => 'nav-icon fas fa-circle',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '二级',
                    'class' => 'far fa-circle nav-icon',
                    'href' => '#',
                    'items' => array(
                        'title' => '三级', 
                        'class' => 'nav-icon fas fa-circle',
                        'href' => '#',
                    ),
                ),
            ),
        ),

        '标签',
        array(
            'title' => '重要',
            'class' => 'nav-icon far fa-circle text-danger',
            'href' => '#',
        ),
        array(
            'title' => '警告',
            'class' => 'nav-icon far fa-circle text-warning',
            'href' => '#',
        ),
        array(
            'title' => '信息',
            'class' => 'nav-icon far fa-circle text-info',
            'href' => '#',
        ),

        '个人中心',
        array(
            'title' => '修改密码',
            'class' => 'nav-icon far fa-circle',
            'href' => iadminUrl('/Admin/AlterPassword'),
        ),
        array(
            'title' => '操作权限',
            'class' => 'nav-icon far fa-circle',
            'href' => iadminUrl('/Admin/CheckRights'),
        ),
        //array(
        //    'title' => '权限管理',
        //    'class' => 'nav-icon far fa-circle',
        //    'href' => iadminUrl('/Admin/ManageRights'),
        //),

        /**
        array(
            'title' => '新菜单', 
            'class' => 'nav-icon fas fa-edit',
            'href' => '#',
            'items' => array(
                array(
                    'title' => '',
                    'class' => 'far fa-circle nav-icon',
                    'href' => iadminUrl(''),
                ),
            ),
        ),
        **/

    ),
);
